<div class="friends_list">
		<h1>Friends</h1>
		<ul>
		<% if !@friend_requests_received.nil? %>
		<%@friend_requests_received.each do |friendship| %>
			<% friend = Entity.find(friendship.entity_id) %>
		    <p><%= link_to friend.name, entity_path(friend) %></p>
			<p><%= friend.description %></p>
			<%= link_to 'Accept', accept_friend_request_path(friendship.id), :confirm => 'Are you sure?' %>
			<%= link_to 'Deny', deny_friend_request_path(friendship.id), :confirm => 'Are you sure?' %>
			<%= link_to 'Block', block_friend_request_path(friendship.id), :confirm => 'Are you sure?' %>				
			<% end %>	
		<% end %>
		</ul>
	</div>
</div>